package com.hdey.pojo.heng;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
public class TbUscPurchaserequestChild {
	private TbUscPurchaserequestMaster master;

	/**
	 * 采购申请子表id
	 */
	private Integer purchaserequestChildId;

	/**
	 * 采购申请主表id
	 */
	private Integer purchaserequestMasterId;

	/**
	 * 物资编码
	 */
	private String cgCode;

	/**
	 * 申领数量
	 */
	private Integer applyChildNum;

	/**
	 * 申领单位编码
	 */
	private String departmentCode;

	/**
	 * 创建者
	 */
	private String createBy;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private java.time.LocalDate createDate;

	/**
	 * 修改者
	 */
	private String updateBy;

	/**
	 * 修改日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private java.time.LocalDate updateDate;

	public TbUscPurchaserequestChild(TbUscPurchaserequestMaster master, Integer purchaserequestChildId, Integer purchaserequestMasterId, String cgCode, Integer applyChildNum, String departmentCode, String createBy, LocalDate createDate, String updateBy, LocalDate updateDate) {
		this.master = master;
		this.purchaserequestChildId = purchaserequestChildId;
		this.purchaserequestMasterId = purchaserequestMasterId;
		this.cgCode = cgCode;
		this.applyChildNum = applyChildNum;
		this.departmentCode = departmentCode;
		this.createBy = createBy;
		this.createDate = createDate;
		this.updateBy = updateBy;
		this.updateDate = updateDate;
	}
}
